package emulator.support;

import emulator.hardware.HwWord;
import emulator.util.MemoryPtr;

public class ImmediateAddressOperandEval implements OperandEval {
	
	MemoryPtr instruction;

	public ImmediateAddressOperandEval(MemoryPtr ptr) {
		instruction = ptr;
	}

	@Override
	public String getDetails(CpuState cpu_state) {
		return "$" + new HwWord(instruction.getWordOp());
	}

}
